/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.garethc.LSP.compliance.model;

/**
 *
 * @author Gareth
 */
public class Rectangle extends Shape{
    protected int width;
    protected int height;

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }
    
    @Override
    public int getArea()
    {
        return width*height;
    }
}
